luci-mod-network: add RFC details for NAT64 option
authorPaul Donald <[email protected]>
Tue, 30 Sep 2025 17:43:08 +0000 (19:43 +0200)
committerPaul Donald <[email protected]>
Tue, 30 Sep 2025 17:43:08 +0000 (19:43 +0200)
Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 9d9f818e4c2783403966d25dce83964a299171f6..5a2b0efe27e41354cae859bd0aee99f2cea61df6 100644 (file)
@@ -845,7 +845,8 @@ return view.extend({
                                                }
                                        };
 
-                                       so = ss.taboption('ipv6-ra', form.Value, 'ra_pref64', _('NAT64 prefix'), _('Announce NAT64 prefix in <abbr title="Router Advertisement">RA</abbr> messages.'));
+                                       so = ss.taboption('ipv6-ra', form.Value, 'ra_pref64', _('NAT64 prefix'), _('Announce NAT64 prefix in <abbr title="Router Advertisement">RA</abbr> messages.') +  ' ' + 
+                                               _('See %s and %s.'.format('<a href="%s" target="_blank">RFC6146</a>', '<a href="%s" target="_blank">RFC8781</a>').format('https://www.rfc-editor.org/rfc/rfc6146', 'https://www.rfc-editor.org/rfc/rfc8781')));
                                        so.optional = true;
                                        so.datatype = 'cidr6';
                                        so.placeholder = '64:ff9b::/96';